
# 遍历一个可迭代对象生成集合
list = [1, 5, 7 ,22, 55, 5, 1, 33]
set_a = {i for i in list}
print(set_a)
set_b = {value for value in '醉里挑灯看剑，梦回吹角连营，八百里分麾下炙'}
print(set_b)